package com.ny.demo;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {

        Scanner x = new Scanner(System.in);
        int year = x.nextInt();
        if(((year%4==0) && (year%100!=0))||(year%400==0)){

            System.out.println("该年为闰年");
        }else{
            System.out.println("该年不是闰年");
        }
    }







}
